package net.oschina.aibinxiao.domain;

import java.util.Date;

/**
 * 用户实体类
 * @author aibinxiao
 * @date 2017年11月8日 下午4:37:29
 */
public class User {
	
	private Integer uid; // id
	private String username; // 用户名
	private String password; // 密码
	private String nickname; // 昵称
	private String email; // 邮箱
	private Integer state; // 状态
	private String code; // 激活码
	private Date registerTime; // 注册时间
	
	public Integer getUid() {
		return uid;
	}
	public void setUid(Integer uid) {
		this.uid = uid;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getNickname() {
		return nickname;
	}
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public Integer getState() {
		return state;
	}
	public void setState(Integer state) {
		this.state = state;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public Date getRegisterTime() {
		return registerTime;
	}
	public void setRegisterTime(Date registerTime) {
		this.registerTime = registerTime;
	}
	
	@Override
	public String toString() {
		return "User [uid=" + uid + ", username=" + username + ", password=" + password + ", nickname=" + nickname
				+ ", email=" + email + ", state=" + state + ", code=" + code + ", registerTime=" + registerTime + "]";
	}
	
}
